<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">
	<title></title>
</head>
<body>
	<input type="button" name="" id="btn" value="退出">
	<div id="box" style="display: none">
		<span id="sn">您确定退出吗？</span>
		<input type="button" name="" id="btn1" value="确认">
		<input type="button" name="" id="btn2" value="取消">
	</div>
</body>
<script type="text/javascript" src="common.js"></script>
<style type="text/css">
	#box{
		position:absolute;
		text-align: center;
		width:300px;
		height: 200px;
		border: 1px solid rgba(0,255,255,.8);
	}
	#sn{
		position: absolute;
		text-align: center;
		color:red;
		font-size: 12;
	}
	#btn1{
		position:absolute;
		bottom:0px;
		left:5px;
	}
	#btn2{
		position:absolute;
		bottom:0px;
		right:5px;
	}
</style>
<script type="text/javascript">
	my$("btn").onclick=function(){
		my$("box").style.display="block";
	}
</script>
</html>